#ifndef DATABASEPLUGIN_H
#define DATABASEPLUGIN_H

#include <framework/framework.h>
#include <services/window/windowservice.h>

class DatabasePlugin : public dpf::Plugin
{
    Q_OBJECT
    Q_PLUGIN_METADATA(IID "org.deepin.plugin.unioncode" FILE "database.json")
public:
    virtual void initialize() override;
    virtual bool start() override;
    virtual dpf::Plugin::ShutdownFlag stop() override;

private:
    void setupUI();
    void initConnection();
    
    QScopedPointer<dpf::WindowService> windowService;
};

#endif // DATABASEPLUGIN_H